﻿using System;
using System.Diagnostics;
using Caliburn.Micro;

namespace SuperShell.Common.Logging
{
	public class DebugLogger : ILog
	{
		public void Info(string format, params object[] args)
		{
			Debug.WriteLine("[INFO]" + format, args);
		}

		public void Warn(string format, params object[] args)
		{
			Debug.WriteLine("[WARNING] " + format, args);
		}

		public void Error(Exception exception)
		{
			Debug.WriteLine("[ERROR] Exception occurred: {0}\n{1}\n\n", exception.Message, exception.StackTrace);
		}
	}
}
